package com.csap.framework.oauth2.server.model;

import com.csap.framework.annotation.apidoc.Description;
import com.csap.framework.oauth2.server.entity.PlatformEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import com.csap.framework.annotation.apidoc.ApiModelProperty;

import java.time.LocalDateTime;

import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.Builder;
import com.csap.mybatisplus.extension.activerecord.CloneModel;
import lombok.experimental.Accessors;
import com.csap.framework.annotation.apidoc.ApiModel;

/**
 * <p>
 * 平台
 * </p>
 *
 * @author yangchengfu
 * @dateTime 2021-07-25 23:51:30
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(description = "平台", value = "platform对象")
@Description(value = "平台Model")
public class PlatformModel extends CloneModel<PlatformModel, PlatformEntity> {
    @ApiModelProperty(description = "平台ID", value = "平台ID")
    private String platform;
    @ApiModelProperty(description = "创建时间", value = "创建时间")
    private LocalDateTime createTime;
    @ApiModelProperty(description = "是否可用", value = "是否可用")
    private Integer enabled;
    @ApiModelProperty(description = "平台名称", value = "平台名称")
    private String name;
    @ApiModelProperty(description = "平台描述", value = "平台描述")
    private String descr;
    @ApiModelProperty(description = "平台LOGO", value = "平台LOGO")
    private String logo;
    @ApiModelProperty(value = "是否默认平台")
    private Boolean isDefault;

}
